package com.wj.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackService implements PaymentHystrixService {

    @Override
    public String paymentInfo_OK(Integer id) {
        return "---- paymentFallbackService fall payment_ok, /(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "---- paymentFallbackService fall payment_timeout, /(ㄒoㄒ)/~~";
    }
}